/*清除所有初始格式 */
* {
    margin: 0px;
    padding: 0px;
    font-family: 'Microsoft YaHei';
}
/* 定义常量 */
:root {
    --centerWidth: 87%;
}
/* 设置所有字体及大小 */
body {
    font: 15px "宋体";
}
/* 清除所有a标签的样式 */
a {
    text-decoration: none;
}
/* 清除所有列表样式 */
li {
    list-style-type: none;
}
/* 设置最上面的head */
.head_out {
    display: flex;
    height: 30px;
    width: 100%;
    background-color: #404040;
    justify-content: center;
}
/* 居中的部分 */
.head {
    width: var(--centerWidth);
    height: 30px;
    display: flex;
    line-height: 30px;
    color: #A5A4A4;
    justify-content: space-between;
    font-size: 12px;
}
.time {
    font-size: 13px;
}
.banben {
    display: flex;
    cursor: crosshair;
}
.banben a {
    color: #A5A4A4;
}
.banben a:not(:last-of-type)::after {
    content: "|";
    margin: 0px 5px;
    color: #A5A4A4; 
}
/* header中间部分 */
.head_center {
    display: flex;
    width: 100%;
    height: 100px;
    background: url("../image/head.jpg") no-repeat center center;
    justify-content: center;
    margin-top: 1px;
}
.center {
    display: flex;
    width: var(--centerWidth);
    height: 100px;
    justify-content: space-between;
}
.center>a>img {
    margin-top: 15px;
} 
.center_right {
    display: flex;
    margin-top: 15px;
}
.center_right li>a{
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    margin-right: 15px;
}
.center_right span {
    padding-top: 10px;
    text-align: center;
    color: #f8b2ae;
    vertical-align: baseline;
}
/* 导航栏 */
nav {
    display: flex;
    width: 100%;
    height: 40px;
    background-color: #ebebeb;
    justify-content: center;
}
.nav_center {
    display: flex;
    width: var(--centerWidth);
    height: 100%;
    justify-content: space-between;
}
.nav_center li {
    flex: 1;
    text-align: center;
    line-height: 40px;
}
.nav_center>li>a {
    display: block;
    text-align: center;
    height: 40px;
    overflow: hidden;
} 
.nav_center li>a {
    font-size: 14px;
    color: #404040;
}
.nav_center li:first-of-type a{
    color: #fff;
    background-color: #89211b;
}
.nav_center li:hover>a{
    color: #fff;
    background-color: #89211b;
}
.nav_center li {
    flex: 1;
    text-align: center;
    line-height: 40px;
}
/* 设置子菜单字体大小 */
.nav_center>li>.nav1>li>a {
    font-size: 13px;
}
/* 二级菜单 */
.nav1 {
    display: none;
    position: absolute;
}
.nav1 li>a {
    width: calc(var(--centerWidth)/11);
    color: #fff;
}
.nav_center li:hover .nav1 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: #89211b;
    width: calc(var(--centerWidth)/11);
    z-index: 99;
}
/* 填充整个li */
.nav1 li:hover {
    background-color: #a1261f;
}
.nav1 li:hover a{
    background-color: #a1261f;
}

/* 页面视图 */
figure {
    display: flex;
    width: 100%;
    height: 400px;
    justify-content: center;
}
figure img {
    width: var(--centerWidth);
}

/* 页面主体 */
main {
    width: 100%;
    height: 813px;
    /* background-color: aquamarine; */
    display: flex;
    justify-content: center;
}
main section {
    width: var(--centerWidth);
    /* background-color: #A5A4A4; */
    display: flex;
    justify-content: space-between;
}
/* 侧边导航栏 */
aside {
    position: relative;
    top: -60px;
    width: 260px;
    height: 483px;
    background-color: #ebebeb;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-end;
    
}
aside>span {
    display: block;
    width: 100%;
    height: 100px;
    background-color: #89211b;
    line-height: 100px;
    font-size: 30px;
    color: #fff;
    text-align: center;
}
.aside_list {
    width: 100%;
    padding: 20px 0px 0px 30px;
}
.aside_list li {
    width: 100%;
    height: 46px;
    background-color:#ebebeb;
}
.aside_list li:not(:first-of-type) {
    margin-top: 20px;
}
.aside_list li a {
    display: inline-block;
    width: 100%;
    height: 46px;
    font-size: 16px;
    color: #333333;
    line-height: 46px;
    padding-left: 10px;
}
.aside_list li:last-of-type a{
    background-color: #ffffff;
    color:#89211b;
}
.aside_list li:hover a {
    background-color: #ffffff;
    color:#89211b;
}

/* 主体右边 */
article {
    width: 870px;
    height: 793px;
    /* background-color: #f8b2ae; */
    margin-top: 20px;
}
/* 展示界面的头部 */
article>header {
    width: 100%;
    height: 61px;
    line-height: 61px;
    border-bottom: 1px solid #cecece;;
    display: flex;
    justify-content: space-between;
}
h2 {
    font-size: 24px;
    color: #484848;
}
.show_header {
    display: flex;
}
.show_header>span{
    display: inline-block;
    width: 10px;
    height: 61px;
    background: url("../imageS2/pic4.png") no-repeat center center;
}
.show_header a {
    font-size: 12px;
}
.show_header a:not(:last-of-type)::after {
    content: ">";
    margin: 0px 10px;
}
.show_header a:first-of-type {
    margin-left: 10px;
}
.show_header a:last-of-type {
    margin-right: 20px;
}
/*  展示界面的主体*/
.show_novel {
    width: 100%;
    height: 642px;
    margin-top: 20px;
}
.show_novel li {
    width: 100%;
    height: calc(642px/18);
    display: flex;
    justify-content: space-between;
}
.show_novel li a {
    flex: 6;
    line-height: calc(642px/18);
    padding-left: 10px;
    color: #000000;
    font-size: 14px;
}
.show_novel li>span:first-of-type {
    display: inline-block;
    width: 10px;
    height: calc(642px/18);
    background: url("../imageS2/ico3.png") no-repeat center center;
}
.show_novel li:hover>span:first-of-type {
    background: url("../imageS2/ico3_hov.png") no-repeat center center;
}
.show_novel li:hover a {
    color:#89211b;
}
.show_novel li:hover a {
    color:#89211b;
}
/* 时间显示 */
.show_novel li>span:last-of-type {
    flex: 1;
    line-height: calc(642px/18);
    font-size: 12px;
    color: #666666;
}
/* 页面分页栏 */
.show_footer {
    display: block;
    width: 100%;
    height: 44px;
    padding-top: 10px;
    display: flex;
    justify-content: center;
    font: 12px "simsun";
}
.show_table {
    border-spacing: 10px;
    color: #222222;
}
.show_table a {
    color: #222222;
}
.show_table tr td:first-of-type{
    border: none;
}
.show_table tr td:not(:first-of-type) {
    border: 1px solid #cccccc;
    width: 40px;
    height: 20px;
    text-align: center;
}
.show_table tr td:nth-of-type(3) ,.show_table tr td:nth-of-type(4){
    width: 20px;
}
.show_table tr td:not(:first-of-type):hover {
    background-color: #cccccc;
}
/* 页面页脚 */
footer {
    display: flex;
    width: 100%;
    height: 111px;
    background: url("../image/f-bg.jpg") no-repeat 0 0;
    background-size: auto;
    justify-content: center;
}
footer section {
    display: flex;
    width: var(--centerWidth);
    height: 100%;
    flex-direction: column;
    justify-content: space-around;
}
address {
    flex: 1;
    font-style: normal;
    color: #ffffff;
    font-size: 14px;
    display: flex;
    align-items: center;
}
address:first-of-type {
    margin-top: 8px;
}
address:last-of-type {
    margin-bottom: 8px;
}
